package com.cragon.services;

import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @Author: ZHOUHAILONG
 * @Date: 2021年02月23日 19:57
 */
@Component
public class IndexService {
	UserService userService;

	public IndexService() {
		System.out.println("Constructor from indexService");
	}

	public void getService() {
		System.out.println(userService);
	}

	public void setUserService(UserService userService) {
		System.out.println(userService);
		this.userService = userService;
	}
}
